package com.ly.mpayment.persist.service.businesstype;

import java.util.List;
import java.util.Map;

import com.ly.mpayment.persist.entity.BusinessType;
import com.ly.mpayment.persist.hibernate.Page;

public interface IBusinessTypeService {

	public boolean addBusinesstype(BusinessType business);
	
	public BusinessType findById(String id);
	
	public Page<BusinessType> findPageBusiness(Map<String, Object> parameters ,int start,int pageSize);
	
	public boolean updateBusiness(BusinessType business);

	public List<BusinessType> findAllBus();
	
	public BusinessType findByName(String busname);
	
	public BusinessType findByCode(String buscode);
}
